package cn.itcast.dao.company;

import cn.itcast.domain.company.Company;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyDao {
    //查询所有公司
     List<Company> findAll();
    void deleteCompanyById(String id);

    void save(Company company);

    void updateCompany(Company company);

    Company findCompanyById(String id);

    List<Company> pageHelperFindAll();
}
